Package-level declarations
Types
Link copied to clipboard
Functions for blending in HCT and CAM16.
Link copied to clipboard
CAM16, a color appearance model.
Link copied to clipboard
Color science utilities.
Link copied to clipboard
Color science for contrast utilities.
Link copied to clipboard
A class containing the contrast curve for a dynamic color on its background.
Link copied to clipboard
An intermediate concept between the key color for a UI theme, and a full color scheme.
Link copied to clipboard
Check and/or fix universally disliked colors.
Link copied to clipboard
A color that adjusts itself based on UI state, represented by DynamicScheme.
Link copied to clipboard
Provides important settings for creating colors dynamically, and 6 color palettes.
Link copied to clipboard
HCT, hue, chroma, and tone.
Link copied to clipboard
A class that solves the HCT equation.
Link copied to clipboard
Named colors, otherwise known as tokens, or roles, in the Material Design system.
Link copied to clipboard
Utility methods for mathematical operations.
Link copied to clipboard
An interface to allow use of different color spaces by quantizers.
Link copied to clipboard
Provides conversions needed for K-Means quantization.
Link copied to clipboard
An image quantizer that improves on the quality of a standard K-Means algorithm by setting the K-Means initial state to the output of a Wu quantizer, instead of random centroids.
Link copied to clipboard
Creates a dictionary with keys of colors, and values of count of the color
Link copied to clipboard
Represents result of a quantizer run
Link copied to clipboard
An image quantizer that improves on the speed of a standard K-Means algorithm by implementing several optimizations, including deduping identical pixels and a triangle inequality rule that reduces the number of comparisons needed to identify which cluster a point should be moved to.
Link copied to clipboard
An image quantizer that divides the image's pixels into clusters by recursively cutting an RGB cube, based on the weight of pixels in each area of the cube.
Link copied to clipboard
Represents a Material color scheme, a mapping of color roles to colors.
Link copied to clipboard
A scheme that places the source color in Scheme.primaryContainer.
Link copied to clipboard
A playful theme - the source color's hue does not appear in the theme.
Link copied to clipboard
A scheme that places the source color in Scheme.primaryContainer.
Link copied to clipboard
A playful theme - the source color's hue does not appear in the theme.
Link copied to clipboard
A monochrome theme, colors are purely black / white / gray.
Link copied to clipboard
A theme that's slightly more chromatic than monochrome, which is purely black / white / gray.
Link copied to clipboard
A playful theme - the source color's hue does not appear in the theme.
Link copied to clipboard
A calm theme, sedated colors that aren't particularly chromatic.
Link copied to clipboard
A loud theme, colorfulness is maximum for Primary palette, increased for others.
Link copied to clipboard
Given a large set of colors, remove colors that are unsuitable for a UI theme, and rank the rest based on suitability.
Link copied to clipboard
Design utilities using color temperature theory.
Link copied to clipboard
A convenience class for retrieving colors that are constant in hue and chroma, but vary in tone.
Link copied to clipboard
Documents a constraint between two DynamicColors, in which their tones must have a certain distance from each other.
Link copied to clipboard
Describes the relationship in lightness between two colors.
Link copied to clipboard
Themes for Dynamic Color.
Link copied to clipboard
In traditional color spaces, a color can be identified solely by the observer's measurement of the color.